import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class MIain {
    public static void main(String[] args) throws IOException {
        TCPSocket p = new TCPSocket();
         DatePacket d = new DatePacket();
        p.start();
        OutputStream outputStream = p.socket.getOutputStream();
        InputStream inputStream = p.socket.getInputStream();
        new LoginWindow(p.socket,d,outputStream,inputStream ); // 创建并显示类似QQ的登录窗口。
    }
}
